_t_e_x_t_u_r_e_s An array containing the names of the textures to be queried.
_r_e_s_i_d_e_n_c_e_s An array in which the texture residence status is returned.
The residence status of a texture named by an element of
_t_e_x_t_u_r_e_s is returned in the corresponding element of
_r_e_s_i_d_e_n_c_e_s.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
On machines with a limited amount of texture memory, OpenGL establishes a
``working set'' of textures that are resident in texture memory. These
textures may be bound to a texture target much more efficiently than
textures that are not resident.
ggggllllAAAArrrreeeeTTTTeeeexxxxttttuuuurrrreeeessssRRRReeeessssiiiiddddeeeennnnttttEEEEXXXXTTTT queries the texture residence status of the _n
textures named by the elements of _t_e_x_t_u_r_e_s. If all the named textures
are resident, ggggllllAAAArrrreeeeTTTTeeeexxxxttttuuuurrrreeeessssRRRReeeessssiiiiddddeeeennnnttttEEEEXXXXTTTT returns GGGGLLLL____TTTTRRRRUUUUEEEE and the contents
of _r_e_s_i_d_e_n_c_e_s are undisturbed. If not all the named textures are
resident, ggggllllAAAArrrreeeeTTTTeeeexxxxttttuuuurrrreeeessssRRRReeeessssiiiiddddeeeennnnttttEEEEXXXXTTTT returns GGGGLLLL____FFFFAAAALLLLSSSSEEEE and detailed status
is returned in the _n elements of _r_e_s_i_d_e_n_c_e_s. If an element of _r_e_s_i_d_e_n_c_e_s
is GGGGLLLL____TTTTRRRRUUUUEEEE, then the texture named by the corresponding element of
_t_e_x_t_u_r_e_s is resident.
The residence status of a single bound texture may also be queried by
calling ggggllllGGGGeeeettttTTTTeeeexxxxPPPPaaaarrrraaaammmmeeeetttteeeerrrr with the target argument set to the target to
which the texture is bound, and the parameter name argument set to
GGGGLLLL____TTTTEEEEXXXXTTTTUUUURRRREEEE____RRRREEEESSSSIIIIDDDDEEEENNNNTTTT____EEEEXXXXTTTT. This is the only way that the residence status
of a default texture can be queried.
ggggllllAAAArrrreeeeTTTTeeeexxxxttttuuuurrrreeeessssRRRReeeessssiiiiddddeeeennnnttttEEEEXXXXTTTT is not included in display lists.
NNNNOOOOTTTTEEEESSSS
ggggllllAAAArrrreeeeTTTTeeeexxxxttttuuuurrrreeeessssRRRReeeessssiiiiddddeeeennnnttttEEEEXXXXTTTT is part of the EEEEXXXXTTTT____tttteeeexxxxttttuuuurrrreeee____oooobbbbjjjjeeeecccctttt extension.
See ggggllllIIIInnnnttttrrrroooo for more information about using extensions.
EEEERRRRRRRROOOORRRRSSSS
GGGGLLLL____IIIINNNNVVVVAAAALLLLIIIIDDDD____VVVVAAAALLLLUUUUEEEE is generated if _n is negative.
GGGGLLLL____IIIINNNNVVVVAAAALLLLIIIIDDDD____VVVVAAAALLLLUUUUEEEE is generated if any element in _t_e_x_t_u_r_e_s is zero or does
not name a texture.
GGGGLLLL____IIIINNNNVVVVAAAALLLLIIIIDDDD____OOOOPPPPEEEERRRRAAAATTTTIIIIOOOONNNN is generated if ggggllllAAAArrrreeeeTTTTeeeexxxxttttuuuurrrreeeessssRRRReeeessssiiiiddddeeeennnnttttEEEEXXXXTTTT is executed
between the execution of ggggllllBBBBeeeeggggiiiinnnn and the corresponding execution of
ggggllllGGGGeeeettttTTTTeeeexxxxPPPPaaaarrrraaaammmmeeeetttteeeerrrr with parameter name GGGGLLLL____TTTTEEEEXXXXTTTTUUUURRRREEEE____RRRREEEESSSSIIIIDDDDEEEENNNNTTTT____EEEEXXXXTTTT retrieves
the residence status of a currently-bound texture.